﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="CardView.aspx.cs" Inherits="BankSysDemo.WebUI.CardView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>卡片视图</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <p></p>
    <form runat="server">
        <div class="row row-cols-1 row-cols-md-2 g-4">
            <asp:Repeater  ID="Repeater1" runat="server" >
                <itemtemplate>
                    <div class="col">
                        <div class="card text-bg-secondary mb-3">
                            <div class="card-header">中国私人银行</div>
                            <%--<img src="..." class="card-img-top" alt="...">--%>
                            <div class="card-body">
                                <p></p>
                                <h1 class="text-center" class="card-title">卡号：<%# Eval("cardid") %></h1>
                                <h3 class="text-center">姓名：<%# Eval("name") %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;余额：<%# Eval("moneynum") %></h3>
                                <p></p>
                            </div>
                        </div>
                    </div>
                </itemtemplate>
            </asp:Repeater>
        </div>
    </form>
</asp:Content>
